#ifndef FHE_PYTHON_PYVAR_H
#define FHE_PYTHON_PYVAR_H

#include <fhepython/PyNode.h>
#include <fhe/core/IVar.h>

namespace fhe
{
  namespace python
  {
    class PyVar : public IVar
    {
    public:
      PyVar( const std::string& name, Node* node, boost::python::object get, boost::python::object set );
      
      std::string name() const;
      Val get() const;
      void set( Val val );
      
    private:
      std::string name_;
      PyNode node_;
      boost::python::object get_;
      boost::python::object set_;
    };
  }
}

#endif
